import { useAppStore } from "../store/modules/app.js";
ue.interface.OnMessage = (v) => {
  // alert(JSON.stringify(v))
  const vStr = JSON.stringify(v);
  const store = useAppStore();

  store.LineCamera = !vStr.includes("LineCamera");
};
export const toUeMsg = (key, data) => {
  console.log("给Ue发送消息", key, JSON.stringify(data));
  ue5 && ue5(key, data);
};
